/*
 * Copyright 2021-2030 itbox.com All right reserved. This software is the confidential and proprietary information
 * of itbox.com ("Confidential Information"). You shall not disclose such Confidential Information and shall use it
 * only in accordance with the terms of the license agreement you entered into with itbox.com.
 */
package cn.itbox.example.application.service;

import cn.itbox.example.model.request.CreateRoleRequest;
import cn.itbox.example.model.request.UpdateRoleRequest;

/**
 * @BelongProject springboot-study
 * @BelongPackage cn.itbox.example.application.service
 * @Description TODO
 * @ClassName RoleCommandService
 * @Author xingc
 * @Date 2023/11/26 23:09
 * @Version 1.0.0
 */
public interface RoleCommandService {
    /**
     * 新建角色
     * @param request
     */
    Long create(CreateRoleRequest request);

    /**
     * 修改角色
     * @param request
     */
    void update(UpdateRoleRequest request);

    /**
     * 删除角色
     * @param id
     */
    void delete(Long id);
}
